//
//  GLEnemy.h
//  QAQ打飞机
//
//  Created by admin on 15/9/1.
//  Copyright (c) 2015年 gl. All rights reserved.
//

#import <UIKit/UIKit.h>
//定义一个表示敌机类型的枚举
typedef enum
{
    kEnemySmall =0,
    kEnemyMid,
    kEnemyBig
}GLEnemytype;
@interface GLEnemy : NSObject

//工厂方法
+(id)enemyWithTyep:(GLEnemytype)tyep area:(CGRect)gameArep size:(CGSize)size;

#pragma mark -敌机有大中小类型
@property(assign,nonatomic)GLEnemytype type;
#pragma mark -位置
@property(assign,nonatomic)CGPoint position;
#pragma mark -尺寸
@property(assign,nonatomic)CGSize size;
#pragma mark -速度
@property(assign,nonatomic)NSInteger speed;
#pragma mark -HP
@property(assign,nonatomic)NSInteger hp;
#pragma mark -得分
@property(assign,nonatomic)NSInteger score;

#pragma mark -是否爆炸状态
@property(assign,nonatomic)BOOL bBlowup;
#pragma mark -爆炸的帧数
@property(assign,nonatomic)NSInteger blowupFrames;
@end
